package com.xinsoft.service;

import cn.hutool.core.lang.Pair;
import com.xinsoft.common.Response;
import com.xinsoft.entity.dto.MesDispatchHangUpParam;
import com.xinsoft.entity.dto.MesDispatchPageParam;
import com.xinsoft.entity.dto.MesDispatchReportParam;
import com.xinsoft.entity.po.MesDispatch;
import com.baomidou.mybatisplus.extension.service.IService;
import com.xinsoft.entity.po.MesProcessReport;
import com.xinsoft.entity.vo.MesProcessCardVo;
import com.xinsoft.entity.vo.MesProcessReportAddVo;

/**
* @author 13370
* @description 针对表【mes_dispatch(工单)】的数据库操作Service
* @createDate 2023-07-31 16:05:10
*/
public interface MesDispatchService extends IService<MesDispatch> {

    Response<?> findPageListByParam(MesDispatchPageParam mesDispatchPageParam);

    Response<?> detail(Integer id);

    Response<?> workHangUp(MesDispatchHangUpParam mesDispatchPageParam);

    Response<?> workStart(MesDispatchHangUpParam mesDispatchPageParam);

    Pair<Integer, String> report(MesProcessReportAddVo mesProcessReport);

    Response<?> getReportNum(MesProcessCardVo vo);
}
